#        "cow",
 #       "*sheep",
  #      "chicken",
   #     "pig",
    #    "bat",
     #   "*horse",
      #  "*villager",
       # "bee",
        #"*fox",
#        "*cat",
 #       "polar_bear",
  #      "turtle",
   #     "zombie",
    #    "skeleton",
     #   "creeper",
      #  "spider",
       # "enderman",
        #"shulker",
#        "blaze",
 #       "*slime",
  #      "*magma_cube",
   #     "wither_skeleton",
    #    "*zombie_villager"
#
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"cow"}}}}}] run summon cow ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"sheep"}}}}}] run summon sheep ~ ~1 ~ {Tags:["fisland_just"]}
data modify entity @e[tag=fisland_just,type=sheep,limit=1] Color set from entity @s SelectedItem.tag.tag.entity.data.Color
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"chicken"}}}}}] run summon chicken ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"pig"}}}}}] run summon pig ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"bat"}}}}}] run summon bat ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"horse"}}}}}] run summon horse ~ ~1 ~ {Tags:["fisland_just"]}
data modify entity @e[tag=fisland_just,type=horse,limit=1] ArmorItem set from entity @s SelectedItem.tag.tag.entity.data.ArmorItem
data modify entity @e[tag=fisland_just,type=horse,limit=1] Bred set from entity @s SelectedItem.tag.tag.entity.data.Bred
data modify entity @e[tag=fisland_just,type=horse,limit=1] EatingHaystack set from entity @s SelectedItem.tag.tag.entity.data.EatingHaystack
data modify entity @e[tag=fisland_just,type=horse,limit=1] Owner set from entity @s SelectedItem.tag.tag.entity.data.Owner
data modify entity @e[tag=fisland_just,type=horse,limit=1] SaddleItem set from entity @s SelectedItem.tag.tag.entity.data.SaddleItem
data modify entity @e[tag=fisland_just,type=horse,limit=1] Tame set from entity @s SelectedItem.tag.tag.entity.data.Tame
data modify entity @e[tag=fisland_just,type=horse,limit=1] Temper set from entity @s SelectedItem.tag.tag.entity.data.Temper
data modify entity @e[tag=fisland_just,type=horse,limit=1] Variant set from entity @s SelectedItem.tag.tag.entity.data.Variant
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"villager"}}}}}] run summon villager ~ ~1 ~ {Tags:["fisland_just"]}
data modify entity @e[tag=fisland_just,type=villager,limit=1] VillagerData set from entity @s SelectedItem.tag.tag.entity.data.VillagerData
data modify entity @e[tag=fisland_just,type=villager,limit=1] Inventory set from entity @s SelectedItem.tag.tag.entity.data.Inventory
data modify entity @e[tag=fisland_just,type=villager,limit=1] Offers set from entity @s SelectedItem.tag.tag.entity.data.Offers
data modify entity @e[tag=fisland_just,type=villager,limit=1] Xp set from entity @s SelectedItem.tag.tag.entity.data.Xp
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"bee"}}}}}] run summon bee ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"fox"}}}}}] run summon fox ~ ~1 ~ {Tags:["fisland_just"]}
data modify entity @e[tag=fisland_just,type=fox,limit=1] Trusted set from entity @s SelectedItem.tag.tag.entity.data.Trusted
data modify entity @e[tag=fisland_just,type=fox,limit=1] Type set from entity @s SelectedItem.tag.tag.entity.data.Type
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"cat"}}}}}] run summon cat ~ ~1 ~ {Tags:["fisland_just"]}
data modify entity @e[tag=fisland_just,type=cat,limit=1] CatType set from entity @s SelectedItem.tag.tag.entity.data.CatType
data modify entity @e[tag=fisland_just,type=cat,limit=1] CollarColor set from entity @s SelectedItem.tag.tag.entity.data.CollarColor
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"polar_bear"}}}}}] run summon polar_bear ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"turtle"}}}}}] run summon turtle ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"zombie"}}}}}] run summon zombie ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"skeleton"}}}}}] run summon skeleton ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"creeper"}}}}}] run summon creeper ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"spider"}}}}}] run summon spider ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"enderman"}}}}}] run summon enderman ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"shulker"}}}}}] run summon shulker ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"blaze"}}}}}] run summon blaze ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"slime"}}}}}] run summon slime ~ ~1 ~ {Tags:["fisland_just"]}
data modify entity @e[tag=fisland_just,type=slime,limit=1] Size set from entity @s SelectedItem.tag.tag.entity.data.Size
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"magma_cube"}}}}}] run summon magma_cube ~ ~1 ~ {Tags:["fisland_just"]}
data modify entity @e[tag=fisland_just,type=magma_cube,limit=1] Size set from entity @s SelectedItem.tag.tag.entity.data.Size
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"wither_skeleton"}}}}}] run summon wither_skeleton ~ ~1 ~ {Tags:["fisland_just"]}
execute if entity @s[nbt={SelectedItem:{tag:{tag:{entity:{type:"zombie_villager"}}}}}] run summon zombie_villager ~ ~1 ~ {Tags:["fisland_just"]}
data modify entity @e[tag=fisland_just,type=zombie_villager,limit=1] VillagerData set from entity @s SelectedItem.tag.tag.entity.data.VillagerData
data modify entity @e[tag=fisland_just,type=zombie_villager,limit=1] Inventory set from entity @s SelectedItem.tag.tag.entity.data.Inventory
data modify entity @e[tag=fisland_just,type=zombie_villager,limit=1] Offers set from entity @s SelectedItem.tag.tag.entity.data.Offers
data modify entity @e[tag=fisland_just,type=zombie_villager,limit=1] Xp set from entity @s SelectedItem.tag.tag.entity.data.Xp
replaceitem entity @s[nbt={SelectedItemSlot: 0},gamemode=!creative] hotbar.0 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
replaceitem entity @s[nbt={SelectedItemSlot: 1},gamemode=!creative] hotbar.1 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
replaceitem entity @s[nbt={SelectedItemSlot: 2},gamemode=!creative] hotbar.2 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
replaceitem entity @s[nbt={SelectedItemSlot: 3},gamemode=!creative] hotbar.3 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
replaceitem entity @s[nbt={SelectedItemSlot: 4},gamemode=!creative] hotbar.4 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
replaceitem entity @s[nbt={SelectedItemSlot: 5},gamemode=!creative] hotbar.5 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
replaceitem entity @s[nbt={SelectedItemSlot: 6},gamemode=!creative] hotbar.6 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
replaceitem entity @s[nbt={SelectedItemSlot: 7},gamemode=!creative] hotbar.7 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
replaceitem entity @s[nbt={SelectedItemSlot: 8},gamemode=!creative] hotbar.8 carrot_on_a_stick{display:{Name:'[{"translate":"fisland.item.name.soul_stone","italic":false}]'},tag:{id:"fisland:soul_stone",isTemp:0b,isEmpty:true,entity:{}},CustomModelData:580004}
tag @e remove fisland_just